package cn.dakaqi.sys.topic.services;

import cn.dakaqi.entities.SysTopicAgreen;
import cn.dakaqi.utils.exception.ServiceRuntimeException;
import org.springframework.data.domain.Page;

/**
 * Created by chunyang on 2016/6/3.
 */
public interface SysTopicAgreenService
{
    void create(String param)throws ServiceRuntimeException;
    void save(SysTopicAgreen sysTopicAgreen)throws ServiceRuntimeException;
    Page<SysTopicAgreen> findBySysTopic(String code,int pageNumber)throws ServiceRuntimeException;
    SysTopicAgreen findLastComment(String memberCode,String code)throws ServiceRuntimeException;
}
